﻿using Newtonsoft.Json;

namespace SBlogCore.WebAdminApplication.SysOrgManager.Dto
{
    public class SysOrgInfoOutPut
    {
        /// <summary>
        /// ID
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 组织编码
        /// </summary>
        public string? Code { get; set; }
        /// <summary>
        /// 等级
        /// </summary>
        public int Level { get; set; }
        /// <summary>
        /// 父级
        /// </summary>
        public long? ParentInfoId { get; set; }
        /// <summary>
        /// 子级
        /// </summary>
        [JsonProperty("ChildrenList")]
        public List<SysOrgInfoOutPut>? Children { get; set; }
    }
}
